package com.example.qt.ptplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user_follow")
public class UserFollow {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer followerId;    // 关注者ID
    private Integer followedId;   // 被关注者ID
    private LocalDateTime createTime; // 关注时间
}